home *** CD-ROM | disk | FTP | other *** search
Makefile | 2000-07-07 | 1.2 KB | 41 lines |
- # makefile for ippon.x
-
- CC = gcc
- CFLAGS = -DDEBUG
- #CFLAGS = -O -fomit-frame-pointer -fstrength-reduce -fforce-mem -fforce-addr -fcombine-regs
- AS = has
- LD = hlk
- INC =
- LIBS = libc.a libgnu.a libdos.a libiocs.a xsp2lib.o
- LZH = ippon011
-
- vpath %.c ./;FuncEnemy/;FuncEffect/;
- # .c ファイルはカレント又はここで指定したディレクトリに
-
- %.o: %.c
- $(CC) $(CFLAGS) -c $<
-
- all: ippon.x maketbl.x
-
- ippon.x: main.o player.o shot.o enemy.o eshot.o effect.o psearch.o \
- zakoa.o zakob.o
- $(LD) $^ -o $@ -l $(LIBS)
-
- main.o: main.c main.h player.h shot.h enemy.h eshot.h effect.h psearch.h
- player.o: player.c main.h player.h shot.h
- shot.o: shot.c main.h player.h shot.h
- enemy.o: enemy.c main.h player.h shot.h enemy.h eshot.h effect.h psearch.h
- eshot.o: eshot.c main.h player.h eshot.h
- effect.o: effect.c main.h effect.h
- psearch.o: psearch.c player.h psearch.h
- zakoa.o: FuncEnemy/zakoa.c FuncEnemy/../main.h FuncEnemy/../player.h FuncEnemy/../enemy.h FuncEnemy/../effect.h FuncEnemy/../psearch.h
- zakob.o: FuncEnemy/zakob.c FuncEnemy/../main.h FuncEnemy/../player.h FuncEnemy/../enemy.h FuncEnemy/../effect.h FuncEnemy/../psearch.h
-
- maketbl.x: maketbl.o
- $(LD) $^ -o $@ -l $(LIBS)
-
-
- dist:
- LHA a -t ../$(LZH)
-
-